package org.test;

import lombok.Data;

/**
 * 请补充描述信息
 *
 * @author <a href="mailto:panpan.chen@vtradex.com">陈盼盼</a>
 * @version v1.0
 * @since 2024/11/21 11:03
 **/
@Data
public class DFMDto {
    private Integer du;

    private Integer fen;

    private Integer miao;

    public DFMDto(Integer du, Integer fen, Integer miao) {
        this.du = du;
        this.fen = fen;
        this.miao = miao;
    }

    public String asString() {
        return String.format("%s.%s'%s''", this.du, this.fen, this.miao);
    }

    public DFMDto() {
    }

    @Override
    public String toString() {
        return "DFMDto{" +
                "du=" + du +
                ", fen=" + fen +
                ", miao=" + miao +
                '}';
    }
}
